<template>
    <div>
        其他页面
        <br>
        <el-button type="primary" @click="gotoHome">返回主页</el-button>
    </div>
</template>

<script setup lang="ts">

import router from '../router';
function gotoHome(){
    router.push('/')
}

</script>

<style scoped>

</style>